import * as ActionTypes from '../constants/ActionTypes';

function editTagPayload(data) {
  return {
    'type': ActionTypes.EDIT_TAG,
    'payload': data,
  };
}

export function editTag(data) {
  return function (dispatch) {
    dispatch(editTagPayload(data));
  }
}
  